package io.finer.erp.jeecg.bas.service;

import io.finer.erp.jeecg.bas.entity.ZzDeviceType;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.exception.JeecgBootException;

/**
 * @Description: 设备类型
 * @Author: jeecg-boot
 * @Date:   2020-09-07
 * @Version: V1.0
 */
public interface IZzDeviceTypeService extends IService<ZzDeviceType> {

	/**根节点父ID的值*/
	public static final String ROOT_PID_VALUE = "0";
	
	/**树节点有子节点状态值*/
	public static final String HASCHILD = "1";
	
	/**树节点无子节点状态值*/
	public static final String NOCHILD = "0";

	/**新增节点*/
	void addZzDeviceType(ZzDeviceType zzDeviceType);
	
	/**修改节点*/
	void updateZzDeviceType(ZzDeviceType zzDeviceType) throws JeecgBootException;
	
	/**删除节点*/
	void deleteZzDeviceType(String id) throws JeecgBootException;
	
	/**
	 * @Description 获取制胶工序
	 * @return
	 * Create at: 2021-03-06 11:54:28
	 * @author: duany
	 * Revision:
	 *    2021-03-06 11:54:28 - first revision by duany
	 *        
	 */
	ZzDeviceType getGlueDeviceType();

}
